package show.me.the.money.dao;

import java.util.HashMap;
import java.util.List;

public class QueryResult {
	private long totalCount;
	private long offset;
	private long limit;
	private long costTime;
	private String hql;
	private List<HashMap<String,Object>> records;
	
	public QueryResult(long totalCount,long offset,long limit,String hql,long costTime,List<HashMap<String,Object>> records){
		this.totalCount = totalCount;
		this.offset = offset;
		this.limit = limit;
		this.costTime = costTime;
		this.hql = hql;
		this.records = records;
	}
	
	public long getTotalCount(){
		return totalCount;
	}
	
	public long getOffset(){
		return offset;
	}
	
	public long getLimit(){
		return limit;
	}
	
	public long getCostTime(){
		return costTime;
	}
	
	public String getHql(){
		return hql;
	}
	
	public List<HashMap<String,Object>> getRecords(){
		return records;
	}
}
